package com.yunyao.dao.service.bamu;

import com.yunyao.common.dto.CheckMarkDtoDto;
import com.yunyao.common.dto.PrePaymentDto;
import com.yunyao.common.web.util.PageResult;
import com.yunyao.dao.model.BamuSoPrePayment;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 项目订单预付款表 服务类
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
@Validated
public interface IBamuSoPrePaymentService extends IService<BamuSoPrePayment> {

    PageResult<BamuSoPrePayment> pageList(@Valid @NotNull PrePaymentDto dto);


    BamuSoPrePayment findByIdInfo(@NotBlank String id);


    void finishPayment(@Valid @NotNull CheckMarkDtoDto dto);


    void add(@Valid @NotNull BamuSoPrePayment dto);
}
